<template>
  <div class="category">
    <slot>哈哈</slot>
  </div>
</template>

<script>
  export default {
    name:'Category',
  }
</script>

<style scoped>
  .category {
    background-color: skyblue;
    padding: 10px;
    width: 240px;
    height: 300px;
    border-radius: 10px;
    box-shadow: 0 0 10px;
  }
  h2 {
    text-align: center;
    background-color: orange;
  }
  img {
    width: 100%;
  }
  video {
    width: 100%;
  }
</style>